package com.sky.service;

import com.sky.domain.PmsAttrAttrgroupRelation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.vo.param.PmsAttrAttrGroupRelationVO;
import com.sky.vo.param.PmsAttrVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【pms_attr_attrgroup_relation(属性&属性分组关联)】的数据库操作Service
* @createDate 2024-06-30 16:46:42
*/
public interface PmsAttrAttrgroupRelationService extends IService<PmsAttrAttrgroupRelation> {


    List<PmsAttrAttrgroupRelation> listByGroupId(Long groupId);

    /**
     * 删除属性分组关联
     * @param voList 属性分组关联
     * @return 是否删除成功
     */
    boolean deleteGroupRelation(List<PmsAttrAttrGroupRelationVO> voList);

    /**
     * 添加属性分组关联
     * @param voList 属性分组关联
     * @return 是否添加成功
     */
    boolean addGroupRelation(List<PmsAttrAttrGroupRelationVO> voList);
}
